// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
import VueAxios from 'vue-axios'

//引入scss不知道打包以后会不会有冗余
import "./scss/main.scss"
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import store from "./store/index.js"
//获取所有自定义组件
import sUI from "./pages"
//获取自定义插件
import Slide from "../static/plugins/slide.js"



//Vue.use(VueResource)
//Vue.use(VueAxios, axios)
Vue.use(sUI)
Vue.use(ElementUI)
Vue.use(Slide);

Vue.config.productionTip = true

/* eslint-disable no-new */
new Vue({
  el: '#app',
  store,
  router,
  template: '<App/>',
  components: { App }
})

